﻿#ifndef MYWIDGET_H
#define MYWIDGET_H

#include <QWidget>
#include "mythread.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MyWidget; }
QT_END_NAMESPACE

class MyWidget : public QWidget
{
    Q_OBJECT

public:
    MyWidget(QWidget *parent = nullptr);
    ~MyWidget();

private slots:
    void on_pb_start_clicked();
    void initUI();

    void on_pb_bubble_clicked();
    void on_pb_quick_clicked();

private:
    Ui::MyWidget *ui;
    MyQuickSort  *myquick;
    MyGenerate   *mygenerate;
    MyBubbleSort *mybubble;

private:
    QVector<int> m_list;

};

#endif // MYWIDGET_H
